/**
 * 漆水河 脚手架基础公开课
 * 2022/8/13 --- 2022/12/13
 * 有疑问可加QQ群: 809126489，后续会持续输出与大家一起成长
 */
package com.qishuihe.outbound.role;


import com.qishuihe.baseinterface.basevo.vo.ResultPageVO;
import com.qishuihe.baseinterface.basevo.vo.ResultVO;
import com.qishuihe.outbound.user.PermissionDTO;
import com.qishuihe.outbound.user.QueryPageDTO;
import com.qishuihe.outbound.user.RoleDTO;
import com.qishuihe.outbound.user.RolePermissionDTO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;

import java.util.List;

@Api(tags = "角色与权限基本信息及权限增删改查相关服务")
public interface IRole {
    @ApiOperation(value = "/admin/queryRole",notes = "查询角色")
    ResultPageVO<RoleDTO> queryRole (QueryPageDTO<RoleDTO> roleDTO);

    @ApiOperation(value = "/admin/modfiyRole",notes = "修改角色")
    ResultVO<RoleDTO> modfiyRole (RoleDTO roleDTO);

    @ApiOperation(value = "/admin/queryRoleById/{id}",notes = "修改角色")
    ResultVO<RoleDTO> queryRoleById ();

    @ApiOperation(value = "/admin/deletRoleById/{id}",notes = "删除角色")
    ResultVO<String> deletRoleById (List<Long> ids);

    @ApiOperation(value = "/admin/queryPermission",notes = "查询权限点")
    ResultPageVO<PermissionDTO> queryPermission (QueryPageDTO<PermissionDTO> permissionDTO);

    @ApiOperation(value = "/admin/modfiyRolePermission",notes = "修改角色权限点")
    ResultVO<RolePermissionDTO> modfiyRolePermission (RolePermissionDTO rolePermissionDTO);

}